<%@ page contentType="text/html;charset=UTF-8"%>

<div class="rap-page-area" id="rap-page-area-edit">
	<div class="col-md-12 rap-layout-main">
		<div class="row rap-toolbar">
			<button id="rap-btn-save">
				<i class="fa fa-save"></i> 保存
			</button>
			<shiro:hasPermission name="stwy:pro:asset:create">
				<button id="rap-btn-savenew">
					<i class="fa fa-save"></i> 保存并新增
				</button>
			</shiro:hasPermission>
			<button id="rap-btn-cancel">
				<i class="fa fa-rotate-left"></i> 取消
			</button>
		</div>

		<div class="row">
			<!-- Edit From -->
			<form id="rap-form-edit" class="rap-form rap-form-edit">
				<input name="uuid" type="hidden">
				<input name="theCode" type="hidden">
				<input name="assetState" type="hidden">
				<table>
					<tr>
						<td class="rap-form-lable required">所属物业</td>
						<td>
							<div class="input-group">
								<input name="property.uuid" type="hidden"  id="propertyId"> 
								<input type="text" name="propertyName" id="propertyName" >
								<span class="input-group-addon rap-btn-ref" id="rap-btn-ref-property">
								<i class="fa fa-search"></i>
								</span>
							</div>
						</td>
						<td class="rap-form-lable required">资产名称</td>
						<td>
	<input name="theName" type="text" >
						</td>
						<td class="rap-form-lable required">资产面积(m²)</td>
						<td>
	<input name="area" type="text" >
						</td>
					</tr>
					<tr>
						<td class="rap-form-lable required">区域</td>
						<td>
	<select class="rap-input-enumdata" name="region" data-enum-group="stwy_region"></select>
						</td>
						<td class="rap-form-lable required">一级组别</td>
						<td>
	<select class="rap-input-enumdata" name="groupOne" data-enum-group="stwy_groupOne"></select>
						</td>
						<td class="rap-form-lable required">二级组别</td>
						<td>
	<select class="rap-input-enumdata" name="groupTwo" data-enum-group="stwy_groupTwo"></select>
						</td>
					</tr>
					<tr>
						<td class="rap-form-lable required">用途</td>
						<td>
	<select class="rap-input-enumdata" name="usefor" data-enum-group="stwy_usefor"></select>
						</td>
						<td class="rap-form-lable">位置</td>
						<td>
	<input name="address" type="text" >
						</td>
						<td class="rap-form-lable">房产证号</td>
						<td>
	<input name="houseCert" type="text" >
						</td>
					</tr>
					<tr>
						<td class="rap-form-lable">产权情况</td>
						<td>
	<select class="rap-input-enumdata" name="bookType" data-enum-group="stwy_bookType"></select>
						</td>
					</tr>
					<tr>
						<td class="rap-form-lable">备注</td>
						<td colspan="5">
    <textarea name="remark" data-maxlength="2000" maxlength="2000" placeholder="最多输入1000个汉字,相当于2000个英文字符"></textarea>
						</td>
					</tr>
				</table>
			</form>
		</div>
	</div>
</div>
